package com.dm.webCrawler.framework.config.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
@Component
@ConfigurationProperties(prefix = "lb.token")
public class TokenProperties {
	/**
	 * token字段名称
	 */
	private static String header;
	/**
	 * 过期时间
	 */
	private static Integer expireTime;
	public static String getHeader() {
		return TokenProperties.header;
	}
	public void setHeader(String header) {
		TokenProperties.header = header;
	}
	public static Integer getExpireTime() {
		return TokenProperties.expireTime;
	}
	public void setExpireTime(Integer expireTime) {
		TokenProperties.expireTime = expireTime;
	}
	
}
